﻿using SmartWMS.Common.ResponseOutput;
using SmartWMS.Server.BasicsDatumServer.CustomerManagementService.Dto;
using SmartWMS.Server.BasicsDatumServer.WarehouseManagementService.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.BasicsDatumServer.CustomerManagementService
{
	/// <summary>
	/// 客户管理接口
	/// </summary>
	public interface ICustomerManagementService : ITransientServer
	{
		Task<(int pageCount, int totalCount, Response<List<CustomDto>> data)> GetCustomerManagemenDtoAsync(SearchCustomDto dto);

		Task<Response<bool>> DelCustomerManagement(CustomDto info);

		Task<Response<bool>> BatchDelCustomerManagement(CustomDto dto);

		Task<Response<bool>> AddCustomDtoAsync(CustomDto info);

		Task<Response<List<CustomContactDto>>> FillCustomContactDtoAsync(CustomContactDto info);

		Task<Response<CustomInputDto>> GetCustomDtoAsync(CustomInputDto info);

		Task<Response<bool>> UpdCustomDtoAsync(CustomDto info);
	}
}
